Component org.nuxeo.ecm.platform.comment.workflow.notification.service.NotificationContrib
In bundle org.nuxeo.ecm.platform.comment.workflow
Contributions
- org.nuxeo.ecm.platform.comment.workflow.notification.service.NotificationContrib--notifications
- org.nuxeo.ecm.platform.comment.workflow.notification.service.NotificationContrib--templates
XML Source
<?xml version="1.0"?>
<component
name="org.nuxeo.ecm.platform.comment.workflow.notification.service.NotificationContrib">
<extension
target="org.nuxeo.ecm.platform.ec.notification.service.NotificationService"
point="notifications">
<notification name="CommentPublication" channel="email" enabled="true" availableIn="Workspace"
autoSubscribed="false" template="comment" subject="Comment published" label="notifications.name.CommentPublication">
<event name="commentPublished"/>
</notification>
</extension>
<extension
target="org.nuxeo.ecm.platform.ec.notification.service.NotificationService"
point="templates">
<template name="comment" src="templates/comment.ftl" />
</extension>
</component>